<%@page import="Entities.*"%>
<%@page import="Helpers.*"%>
<%@page import="Hibernate.*"%>
<%@page import="java.util.*"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

        <%
            String id = request.getParameter("id");

            PersonenHelper helperPersoon = new PersonenHelper();

            Personen persoon = helperPersoon.getPersoon(Integer.parseInt(id));

            helperPersoon.deletePersoon(persoon);

            response.sendRedirect("showPersonen.jsp");
 
        
       %>
